<form method="post" class="form-x dux-form form-auto" id="form" action="{:U()}">
    <div class="panel dux-box  active">
        <div class="panel-head">
            <strong>{$name}部门</strong>
        </div>
        <div class="panel-body">
            <div class="form-group">
                <div class="label">
                    <label>部门名称</label>
                </div>
                <div class="field">
                    <input type="text" class="input" id="department_name" name="department_name" size="60" datatype="s" value="{$info['department_name']}">
                    <div class="input-note">当前部门的名称</div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>部门排序</label>
                </div>
                <div class="field">
                    <input type="text" class="input" id="department_sort" name="department_sort" size="60" datatype="n" value="{$info['department_sort']}">
                    <div class="input-note">部门排序(限数字)</div>
                </div>
            </div>
        </div>
        <div class="panel-foot">
            <div class="form-button">
                <div id="tips"></div>
                <input type="hidden" name="department_id" type="hidden" value="{$info['department_id']}">
                <button class="button bg-main" type="submit">保存</button>
                <button class="button bg" type="reset">重置</button>
            </div>
        </div>
    </div>
</form>
<script>
    Do.ready('base', function () {
        $('#form').duxFormPage();
    });
</script>